#include "BrowserWindow.h"

/**************************************************************************/
/**************************************************************************/
BrowserWindow::BrowserWindow()
{
    setupUi(this);
    outputPath = QString();
    makeConnections();
}

/**************************************************************************/
/**************************************************************************/
void BrowserWindow::makeConnections()
{
    connect(pushButton_2, SIGNAL(clicked()), this, SLOT(hide()));
    //connect(treeView,SIGNAL(clicked(QModelIndex)),this,SLOT(outputIndexChanged(QModelIndex)));
    connect(pushButton,SIGNAL(clicked()),this,SLOT(outputPathValidated()));
}

/**************************************************************************/
/**************************************************************************/
void BrowserWindow::outputPathValidated()
{
    emit outputPathChanged(outputPath);
    hide();
}

/**************************************************************************/
/**************************************************************************/

